Copy DOORS id as Legacy ID

Hello Everyone,

 

I am trying to create a DXL script that copies all DOORS ID's (Object Identifier attribute) and pasts them in a new Legacy ID attribute. 

 

I only want to run this DXL once and not have it update itself

 

So in other words ( I want the current DOORS ID to become Legacy ID and then i will be changing the prefix of the DOORS module and adding new requirements ( which will not have a Legacy ID- so this value should be blank)

 

I know this should be simple script but I am having problems with it

 

 

 

 


Alex_4_IBM - Tue Apr 19 14:56:31 EDT 2016

Re: Copy DOORS id as Legacy ID
Mike.Scharnow - Tue Apr 19 15:50:08 EDT 2016

Well, the core of your script will be

for objCurrent in entire modCurrent do { if !isDeleted(objCurrent) then objCurrrent."Legacy" = identifier (objCurrent) }

Where exactly are your problems?